package com.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author lzb
 * 添加好友
 */
@Data
public class Friend {
	private Integer id;
	private Integer userId;
	private Integer friendId;
	private Date buildTime;
	private Integer typeId;
	private String noteName;

	/*实体字段以外*/
	private UserInfo userInfo;//好友的详细信息
	private FriendMessage newFriendMessage;//最新的好友消息
	private Integer notReadCount;//有多少未读消息
}
